//
//  TFContactForm.m
//  TFContactForm
//
//  Created by Thomas Fors on 1/17/07.
//  Copyright 2007 Thomas Fors. All rights reserved.
//

#import "TFContactForm.h"


@implementation TFContactForm

#pragma mark -
#pragma mark initializers

//=========================================================== 
//  init
//=========================================================== 
- (TFContactForm *) init
{
	self = [super init];
	if (self != nil) {
	}
	return self;
}

#pragma mark -
#pragma mark accessors

//=========================================================== 
//  fields 
//=========================================================== 
- (NSMutableArray *) fields
{
    return fields; 
}
- (void) setFields: (NSMutableArray *) newFields
{
    if (fields != newFields) {
        [newFields retain];
        [fields release];
        fields = newFields;
    }
}

- (void) addField: (id)newField
{
    [[self fields] addObject: newField];
}
- (void) removeField: (id)newField
{
    [[self fields] removeObject: newField];
}

#pragma mark -
#pragma mark dealloc

//=========================================================== 
// dealloc
//=========================================================== 
- (void) dealloc
{
    [fields release];
	
    fields = nil;
    [super dealloc];
}


@end
